CommonsBooking\Helper\Wordpress S

Total Complexity 22
Dependencies 12
Dependents 8
Total lines 186
Lines of code 99
Logical lines of code 59
Comment lines 65
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
getRelatedPostIds()
S
52 6 25
getRelatedPostsIdsForBooking()
S
60 4 14
getRelatedPostsIdsForTimeframe()
S
63 3 11
getPageListTitle()
S
64 3 10
flattenWpdbResult()
S
73 1 5
isValidDateString()
S
78 1 3
getPostIdArray()
S
73 1 5
getRelatedPostsIdsForLocation()
S
65 1 9
getRelatedPostsIdsForItem()
S
65 1 9
getRelatedPostsIdsForRestriction()
S
67 1 8